﻿using Xejen.Communication.Ftp.Extensions;
using Xejen.Communication.Ftp.Abstract;
using Xejen.Communication.Ftp.Configuration;
using System;
using System.Collections.Generic;
using System.Text;
using Xejen.Communication.Ftp.Communicator;

namespace Xejen.Communication.Ftp.Extensions
{
    /// <summary>
    /// 表示Ftp通讯构造器
    /// </summary>
    /// <creator>marc</creator>
    public interface IFtpCommunicatorBuilder : ICommunicatorBuilder<IFtpCommunicatorBuilder>
    {
        /// <summary>
        /// 配置Ftp选项对象<see cref="FtpConfig"/>
        /// </summary>
        /// <param name="configure">配置行为</param>
        /// <returns></returns>
        IFtpCommunicatorBuilder ConfigureFtpConfiguration(Action<FtpConfig> configure);
    }
}
